let arr:(string | number | boolean)[];
arr = [123,"asf",true];
console.log(arr);

let array:Array<string | number | boolean>;
array = [123,"asf",true];
console.log(array);